package control

import (
	"jvm/nzpJvm/instructions/base"
	"jvm/nzpJvm/runtime_area"
)

// 无条件跳转指令
type GOTO struct {
	base.BranchInstruction
}

// 无条件跳转
func (self *GOTO) Execute(frame *runtime_area.Frame) {
	base.Branch(frame, self.Offset)
}
